package com.wlyuan.open.scanner.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author yuanjie
 * @since 2022-09-23
 */
@Data
@TableName("TMS_MCar")
@ApiModel(value = "CarDO对象", description = "")
public class CarDO implements Serializable {


    private static final long serialVersionUID = -7221215933240378596L;
    @ApiModelProperty("车牌号")
    private String carSn;

    @ApiModelProperty("车型")
    private Long carType;

    @ApiModelProperty("车长")
    private Double carLength;

    @ApiModelProperty("车宽")
    private Double carWeight;

    @ApiModelProperty("座位数")
    private Long carSeats;

    @ApiModelProperty("购车时间")
    private LocalDateTime carPurchasetime;

    @ApiModelProperty("保险到期时间")
    private LocalDateTime carInsurance;

    @ApiModelProperty("车品牌")
    private String carBrand;

    @ApiModelProperty("车辆照片")
    private String carPhoto;

    @ApiModelProperty("所属公司")
    private Long carCompanyid;

    @ApiModelProperty("创建人")
    private Long carCreator;

    @ApiModelProperty("创建时间")
    private LocalDateTime carInserttime;

    @ApiModelProperty("最新修改人")
    private Long carUpdater;

    @ApiModelProperty("最新修改时间")
    private LocalDateTime carUpdatetime;

    @ApiModelProperty("是否失效 0 否 1失效")
    private Integer carInvalid;

    @ApiModelProperty("备注")
    private String carComments;

    @ApiModelProperty("车体积（容积）")
    private Double carVolume;

    @ApiModelProperty("使用热度")
    private Long carHeat;

    private String carModel;

    @ApiModelProperty("行驶证车主")
    private String carDrivercardname;

    @ApiModelProperty("车辆所在地省份ID")
    private Long carProviceid;

    @ApiModelProperty("车辆所在地城市ID")
    private Long carCityid;

    @ApiModelProperty("保险生效时间")
    private String carStartinsurancetime;

    @ApiModelProperty("车辆所在地省份")
    private String carProvicename;

    @ApiModelProperty("车辆所在地城市")
    private String carCityname;

    @ApiModelProperty("投保人")
    private String carPolicyholder;

    @ApiModelProperty("投保人电话")
    private String carPolicyholderphone;

    @ApiModelProperty("投保人邮箱")
    private String carPolicyholderemail;

    @ApiModelProperty("险种")
    private String carInsurancetype;

    @ApiModelProperty("行驶证号")
    @TableField(exist = false)
    private String carDrivinglicense;

    @ApiModelProperty("行驶证发证时间")
    @TableField(exist = false)
    private LocalDateTime carDrivinglicensebegin;

    @ApiModelProperty("行驶证过期时间")
    @TableField(exist = false)
    private LocalDateTime carDrivinglicenseend;

    @ApiModelProperty("行驶证状态")
    @TableField(exist = false)
    private Integer carDrivingstatus;

    @ApiModelProperty("运输证号")
    @TableField(exist = false)
    private String carTransportlicense;

    @ApiModelProperty("运输证领证时间")
    @TableField(exist = false)
    private LocalDateTime carTransportlicensebegin;

    @ApiModelProperty("运输证过期时间")
    @TableField(exist = false)
    private LocalDateTime carTransportlicenseend;

    @ApiModelProperty("运输证状态")
    @TableField(exist = false)
    private Integer carTransportstatus;

    @ApiModelProperty("出厂日期")
    @TableField(exist = false)
    private LocalDateTime carLeavefactorytime;

    @ApiModelProperty("载重")
    @TableField(exist = false)
    private String carLoad;

    @ApiModelProperty("车辆识别代号")
    @TableField(exist = false)
    private String carVehiclediscernid;

    @ApiModelProperty("行驶证注册日期")
    @TableField(exist = false)
    private LocalDateTime carDrivingsignin;

    @ApiModelProperty("发动机号")
    @TableField(exist = false)
    private String carEnginecode;

    @ApiModelProperty("行驶证使用性质")
    @TableField(exist = false)
    private String carDrivingnature;

    @ApiModelProperty("行驶证住址")
    @TableField(exist = false)
    private String carDrivingaddress;

    @ApiModelProperty("运输证业户名称")
    @TableField(exist = false)
    private String carTransportcardname;

    @ApiModelProperty("运输证核发机关")
    @TableField(exist = false)
    private String carIssuedauthority;

    @ApiModelProperty("行驶证正面照片")
    @TableField(exist = false)
    private String carDrivingfrontphoto;

    @ApiModelProperty("行驶证背面照片")
    @TableField(exist = false)
    private String carDrivingbackphoto;

    @ApiModelProperty("运输证正面照片")
    @TableField(exist = false)
    private String carTransfrontphoto;

    @ApiModelProperty("运输证背面照片")
    @TableField(exist = false)
    private String carTransbackphoto;

    private Integer optStatus;

    private String carCarlengthname;

    @TableId(value = "Car_ID", type = IdType.AUTO)
    private Long carId;

    @TableField(exist = false)
    private String raw;

}
